package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.pojo.entity.Storage;
import org.apache.ibatis.annotations.Select;

public interface StorageMapper extends BaseMapper<Storage> {
    @Select("select storage_id from warehouse.storage where storage_name like #{name}")
    int getIdByName(String name);
}
